projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93dba9c
)
* lisp/emacs-lisp/ert.el: Print results without newline escaping
author
Phillip Lord
<phillip.lord@russet.org.uk>
Mon, 26 Oct 2015 20:27:16 +0000
(20:27 +0000)
committer
Phillip Lord
<phillip.lord@russet.org.uk>
Mon, 26 Oct 2015 20:27:16 +0000
(20:27 +0000)
lisp/emacs-lisp/ert.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/ert.el
b/lisp/emacs-lisp/ert.el
index 2eba0216faf778e37ea4ab4bc2f9ae98829237f3..21c1f1be3949f08072d36c9d77e50791c661fb0a 100644
(file)
--- a/
lisp/emacs-lisp/ert.el
+++ b/
lisp/emacs-lisp/ert.el
@@
-64,7
+64,7
@@
(require 'ewoc)
(require 'find-func)
(require 'help)
-
+(require 'pp)
;;; UI customization options.
@@
-1300,7
+1300,8
@@
EXPECTEDP specifies whether the result was expected."
(defun ert--pp-with-indentation-and-newline (object)
"Pretty-print OBJECT, indenting it to the current column of point.
Ensures a final newline is inserted."
- (let ((begin (point)))
+ (let ((begin (point))
+ (pp-escape-newlines nil))
(pp object (current-buffer))
(unless (bolp) (insert "\n"))
(save-excursion